package com.qaml.mes.device.enums;

/**
 * @ClassName EquipmentStatusEnum
 * @Description 设备状态
 * @Author leikai
 * @Date 2023/11/27 14:59
 * @Version 1.0
 */
public enum EquipmentStatusEnum {

    RUN("run","运行"),
    STOP("stop","停止"),
    MAINTENANCE("maintenance","保养"),
    REPAIR("repair","维修"),
    ;

    private String type;

    private String desc;

    EquipmentStatusEnum(String code, String desc) {
        this.type = code;
        this.desc = desc;
    }

    public String getType() {
        return type;
    }

    public String getDesc() {
        return desc;
    }
}